// axios配置  可自行根据项目进行更改，只需更改该文件即可，其他文件可以不动
import { VAxios } from './Axios'
import { transform } from '@/utils/http/axios/axiosTransform'

// 请求白名单，无须token的接口
// const whiteList: string[] = ['/login', '/refresh-token']
// console.log(globSetting, 'index.ts')
function createAxios() {
  return new VAxios(transform)
}
export const defHttp = createAxios()
